package com.netease.imageex;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import com.netease.image.video.ImageViewTouchBase;
import com.netease.imageex.a.b;
import com.netease.imageex.a.c;

public class ImageViewTouch extends ImageViewTouchBase
{
  private c a;
  private boolean b = false;

  public ImageViewTouch(Context paramContext)
  {
    super(paramContext);
    h();
  }

  public ImageViewTouch(Context paramContext, AttributeSet paramAttributeSet)
  {
    super(paramContext, paramAttributeSet);
    h();
  }

  private void h()
  {
  }

  public void a()
  {
    super.a();
    if (this.a != null)
    {
      this.a.a();
      this.a = null;
    }
  }

  public void a(b paramb)
  {
    if ((this.b) && (this.a != null))
      this.a.a(paramb);
  }

  public void a(boolean paramBoolean)
  {
    this.b = paramBoolean;
    if (this.b)
      this.a = new c(getContext(), this);
  }

  public void a_(float paramFloat1, float paramFloat2)
  {
    super.a(paramFloat1, paramFloat2);
    a(true, true);
  }

  public void b(boolean paramBoolean)
  {
  }

  public boolean onTouchEvent(MotionEvent paramMotionEvent)
  {
    if ((this.b) && (this.a != null));
    for (boolean bool = this.a.a(paramMotionEvent); ; bool = super.onTouchEvent(paramMotionEvent))
      return bool;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.imageex.ImageViewTouch
 * JD-Core Version:    0.6.0
 */